/**
 * 
 */
//获取要修改的值
	function editInfo(obj) {
			// 获取表格中的一行数据
			var id = $(obj).attr("id");
			var userid=document.getElementById("table").rows[id].cells[0].innerText;//这一行第几个从0开始
			var person_name = document.getElementById("table").rows[id].cells[1].innerText;
			var sex = document.getElementById("table").rows[id].cells[4].innerText;
			var birth_time = document.getElementById("table").rows[id].cells[5].innerText;
			var identity_number= document.getElementById("table").rows[id].cells[6].innerText;
			var matital_status=document.getElementById("table").rows[id].cells[7].innerText;
			var spouse_name=document.getElementById("table").rows[id].cells[8].innerText;
			// 向模态框中传值
			var birth_time1=birth_time.replace("00:00:00.0","");
			$('#id').val(userid);
			$('#person_name').val(person_name);
			$('#birth_time').val(birth_time1);
			$('#identity_number').val(identity_number);
			$('#spouse_name').val(spouse_name);
			if (sex == '2') {
				document.getElementById('women').selected = true;
			} else if(sex == '1') {
				document.getElementById('man').selected = true;
			} else if(sex == '9') {
				document.getElementById('nosex').selected = true;
			} else {
				document.getElementById('dontnosex').selected = true;
			}
			if(matital_status=='10'){
				document.getElementById('10').selected = true;
			}else if(matital_status=='90'){
				document.getElementById('90').selected = true;
			}else if(matital_status=='21'){
				document.getElementById('21').selected = true;
			}else if(matital_status=='22'){
				document.getElementById('22').selected = true;
			}else if(matital_status=='23'){
				document.getElementById('23').selected = true;
			}else if(matital_status=='30'){
				document.getElementById('30').selected = true;
			}else if(matital_status=='40'){
				document.getElementById('40').selected = true;
			}
//			$.ajax({
//				type='POST',
//				url='/sshsecond/findemployee.do',
//				data:'person='+person_name+'&birth_time='+birth_time+'&identity_number='
//				+identity_number+'&sex='+sex,
//			})
			$('#update').modal('show');//回显数据
		}
	